﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FrienDev.BusinessRules;

public partial class Controls_Activity_Intro : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(HttpContext.Current.Request["activityid"] != null)
        {
            int activityID = Convert.ToInt32(Request.QueryString["activityid"]);
            desContent.Text = ActivityRules.Instance.GetActivityDescription(activityID);
        }
    }
}
